
package com.trydofor.id.xnet;

/**
 * @author : Shi Rongjiu (www.trydofor.com)
 */
public interface Constant {
    
    /**
     * default timeout(millisecond) of connection/wait
     */
    long   TIMEOUT_MSECONDS = 1227;
    
    /**
     * default read/write idle(second) time of session.
     */
    int    IDLEBOTH_SECONDS = 60;
    
    /**
     * default port of server
     */
    int    SERVICE_PORT     = 2012;
    
    /**
     * default server config file path
     */
    String SERVICE_CONF     = "a9id-net.xml";
    
    /**
     * default spring config file path
     */
    String SPRING_CONF      = "spring.xml";
    
    /**
     * default limit of fetch
     */
    int    FETCH_COUNT      = 100;
}
